package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 单柜订单信息
 * @author: Jiaming Zheng
 * @Date: Create in 16:07 2023/3/19
 * @Modified By:
 **/
@Entity
@Table(name="T_OM_BatchPlanInfor")
@Getter
@Setter
public class BatchPlanInfor extends BaseEntity{

    @Column(name = "InfoId",columnDefinition = "VARCHAR(50) COMMENT '项目id' ")
    private String infoId;


    @Column(name = "ProjectCode",columnDefinition = "VARCHAR(50) COMMENT '项目编码' ")
    private String projectCode;

    @Column(name = "ProjectName",columnDefinition = "VARCHAR(50) COMMENT '项目名称' not null ", unique = true)
    private String projectName;

    @Column(name = "BatchPlanId", columnDefinition = "VARCHAR(50) COMMENT '计划Id' ")
    private String batchPlanId;

    @Column(name = "BatchPlanCode", columnDefinition = "VARCHAR(50) COMMENT '计划编码' ")
    private String batchPlanCode;

    @Column(name = "PlanStartTime",columnDefinition = "datetime COMMENT '工单计划开始时间' ")
    private Date planStartTime;

    @Column(name = "PlanEndTime",columnDefinition = "datetime COMMENT '工单计划结束时间' ")
    private Date planEndTime;

    @Column(name = "Memo", columnDefinition = "VARCHAR(50) COMMENT '备注' ")
    private String memo;

}
